﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Business.Models
{
    public class Owner__v
    {
        /// <summary>
        /// 
        /// </summary>
        public List<string> groups { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<string> users { get; set; }
    }

    public class Editor__v
    {
        /// <summary>
        /// 
        /// </summary>
        public List<string> groups { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<string> users { get; set; }
    }

    public class Reviewer__v
    {
        /// <summary>
        /// 
        /// </summary>
        public List<string> groups { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<string> users { get; set; }
    }

    public class Viewer__v
    {
        /// <summary>
        /// 
        /// </summary>
        public List<string> groups { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<string> users { get; set; }
    }

    public class Coordinator__v
    {
        /// <summary>
        /// 
        /// </summary>
        public List<string> groups { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<string> users { get; set; }
    }

    public class Approver__v
    {
        /// <summary>
        /// 
        /// </summary>
        public List<string> groups { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<string> users { get; set; }
    }

    public class Consumer__v
    {
        /// <summary>
        /// 
        /// </summary>
        public List<string> groups { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<string> users { get; set; }
    }

    public class Distribution_contacts__v
    {
        /// <summary>
        /// 
        /// </summary>
        public List<string> groups { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<string> users { get; set; }
    }

    public class Document
    {
        /// <summary>
        /// 
        /// </summary>
        public string id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string version_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string binder__v { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Owner__v owner__v { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Editor__v editor__v { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Reviewer__v reviewer__v { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Viewer__v viewer__v { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Coordinator__v coordinator__v { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Approver__v approver__v { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Consumer__v consumer__v { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Distribution_contacts__v distribution_contacts__v { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string annotations_all__v { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<string> language__v { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string filename__v { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string version_created_by__v { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string lifecycle__v { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string global_id__sys { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<string> allow_pdf_download__v { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string name__v { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string pages__v { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string type__v { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string title__v { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string annotations_unresolved__v { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string last_modified_by__v { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string version_modified_date__v { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string created_by__v { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string version_creation_date__v { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string format__v { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string major_version_number__v { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string annotations_links__v { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string global_version_id__sys { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string status__v { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string suppress_rendition__v { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<string> product__v { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<string> country__v { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string annotations_anchors__v { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string document_number__v { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string minor_version_number__v { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string crosslink__v { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string annotations_notes__v { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string annotations_suggested__v { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string locked__v { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string size__v { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string md5checksum__v { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string document_creation_date__v { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string annotations_resolved__v { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string annotations_lines__v { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string clm_content__v { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<string> crm_org__c { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<string> asset_use__c { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<string> key_message_type__c { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<string> type_of_clm_content__c { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<string> content_category__c { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<string> asset_type__c { get; set; }
    }

    public class DocumentsItem
    {
        /// <summary>
        /// 
        /// </summary>
        public Document document { get; set; }
    }

    public class RootModel
    {
        /// <summary>
        /// 
        /// </summary>
        public string responseStatus { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string size { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string start { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string limit { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<DocumentsItem> documents { get; set; }
    }
}
